﻿using System.Collections.Generic;
using Itau.IM.Common.Mainframe.Book;

namespace Itau.IM.Interpolador.Contract
{
    [BookClass(11788)]
    public class ConsultarCurvaResponse
    {
        [BookNumberField(1, 3)]
        public int CodigoRetorno { get; set; }

        [BookNumberField(4, 3)]
        public int POS { get; set; }

        [BookStringField(7, 200)]
        public string Mensagem { get; set; }

        [BookObjectField(206)]
        public ErroEO Erro { get; set; }

        [BookStringField(374, 10)]
        public string DataVencimentoProxima { get;set; }

        [BookNumberField(384, 5)]
        public int Quantidade { get; set; }

        [BookCollectionField(389, typeof(BookObjectFieldAttribute), typeof(PontoCurvaEO), typeof(ConsultarCurvaResponse), "Quantidade", "000000000000000000000000000000000000000000000000000000000")]
        public List<PontoCurvaEO> Pontos { get; set; }

        public ConsultarCurvaResponse()
        {   
        }
    }
}